﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using PPIProxy.PPIWebservice;

namespace PPIProxy
{
    public class WHandheld
    {
        public static  DataSet SelectAllIdName(string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Handheld_SelectAllIdName(connectionKey);
        }

        public static int Insert(string code, string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Handheld_Insert(code,connectionKey);
        }

        public static DataSet Select(int id, string connectionKey)
        {
            PPIProxy.PPIWebservice.PPIWebServiceClass serv = new PPIService();
            return serv.Handheld_Select(id, connectionKey);
        }
    }
}
